package com.ph.irp.base.accountbook.service;

import java.util.List;

import com.ph.irp.dto.AccountbookDTO;
import com.ph.irp.model.PBaseAccountbook;

public interface AccountbookService {
	
	
	List<PBaseAccountbook> getAllAccountbook()throws Throwable ;
	
	List<AccountbookDTO> getAccountbooks(PBaseAccountbook pbaseAccountbook)throws Throwable;
	
	int deleteAccountbookById(Integer accountbookId)throws Throwable;
	
	int addAccountbook(PBaseAccountbook pbaseAccountbook)throws Throwable;
	
	int updateAccountbook(PBaseAccountbook pbaseAccountbook) throws Throwable;
	
	PBaseAccountbook getAccountbookById(int accountbookId)throws Throwable;
	
}
